package org.usmile.algorithms.huawei.acm;

import java.util.Scanner;

// https://fcqian.blog.csdn.net/article/details/129239655
public class _创建二叉树 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        System.out.println(str.substring(2, str.length() - 2));
    }
}
